package com.senlan.water.dto.policy;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode
public class PolicyPublicityExcelDTO implements Serializable {

    @ExcelProperty("标题")
    @ColumnWidth(30)
    private String title;

    @ExcelProperty("内容")
    @ColumnWidth(50)
    private String content;

    @ExcelProperty("链接")
    @ColumnWidth(30)
    private String url;

    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private Date createTime;

    @ExcelProperty("创建人")
    @ColumnWidth(20)
    private String createBy;
}
